package com.morningstar.flow.flowable.condition.support;

import com.morningstar.flow.flowable.condition.ConditionHandler;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 自定义条件处理类
 *
 * @author morningstar
 */
@Component
public class MyConditionHandler implements ConditionHandler {
    @Override
    public boolean handle(Map<String, Object> formModel) {
        //TODO 自定义判断逻辑
        return false;
    }

    @Override
    public String getName() {
        return "自定义条件处理类";
    }
}
